﻿using System;
using System.Web.Caching;

namespace JinianNet.Caching
{
    public interface ICache
    {
        int Count { get; }
        object this[string key] { get; set; }
        object Get(string key);
        void Insert(string key, object value);
        void Remove(string key);
        void RemoveAll();
    }
}
